package springframework.bean;

import com.qumoyugo.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @author Cedric
 * @date 2021/12/03 16:07
 * @description 配偶切面
 */
public class SpouseAdvice implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("小两口关怀:" + method.getName());
    }
}
